import java.util.GregorianCalendar;


public class Roomtest
{

   /**
    * @param args
    */
   public static void main(String[] args)
   {
      
      MonthlySchedule schedule = new  MonthlySchedule();
       
      Request e = new Request("Loc Phan", "Party1", new GregorianCalendar(2009,11,30), 1, 120, 10);
      Request b = new Request("Loc Phan1", "Party2", new GregorianCalendar(2009,3,11), 3, 120, 10);
      Request d = new Request("Loc Phan2", "Party3", new GregorianCalendar(2009,4,1), 5, 60, 10);
      Request c = new Request("Loc Phan3", "Party4", new GregorianCalendar(2009,4,3), 6, 120, 10);
      Request a = new Request("Loc Phan4", "Party5", new GregorianCalendar(), 8, 120, 10);
      Request f = new Request("Loc Phan5", "Party6", new GregorianCalendar(), 10, 120, 10);
      
      schedule.add(a);
      schedule.add(b);
      schedule.add(c);
      schedule.add(d);
      schedule.add(e);
      schedule.add(f);
          
      System.out.println(schedule);
      Room r = new Room(20);
      
      r.add(a); r.add(b);
      r.add(f); r.add(c);
      r.add(e); r.add(d);
      System.out.println(r.printMonthlySchedule(4));
      r.cancel(d);
      System.out.println(r.printMonthlySchedule(4));
      
      System.out.println(r.getCapacity());
      
   }

}
